package com.example.fms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("goods_attr")
public class GoodsAttr {
    //id
    @TableId(type = IdType.AUTO)
    @TableField("id")
    private Long id;

    @TableField("goods_id")
    private Long goodsId;

    @TableField("attr_id")
    private Long attrId;
}
